package com.ytt.start;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * SecurityProperties
 * 安全配置属性
 * @author chenwen
 * @date 2019/9/12 16:56
 */
@Getter
@Setter
@ConfigurationProperties(prefix = "com.ytt")
public class SecurityProperties {
    /**
     * UserDetailsService的实现类
     */
    private String userDetailsService;

    /**
     * 密码加密方式
     */
    private String passwordEncoder;

    public String getUserDetailsService() {
        return userDetailsService;
    }

    public void setUserDetailsService(String userDetailsService) {
        this.userDetailsService = userDetailsService;
    }

    public String getPasswordEncoder() {
        return passwordEncoder;
    }

    public void setPasswordEncoder(String passwordEncoder) {
        this.passwordEncoder = passwordEncoder;
    }
}
